package com.szpx.entity.lishihui;

import javax.persistence.Table;

@Table(name =  "cinema")
public class Cinema {

    private  Integer id;  //主键.ID
    private  String name; // 电影名字
    private  String capacity; //容量
    private  String cinema_id;//影厅编号

    public Cinema() {
    }

    public Cinema(Integer id, String name, String capacity, String cinema_id) {
        this.id = id;
        this.name = name;
        this.capacity = capacity;
        this.cinema_id = cinema_id;
    }
//1
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    public String getCinema_id() {
        return cinema_id;
    }

    public void setCinema_id(String cinema_id) {
        this.cinema_id = cinema_id;
    }

    @Override
    public String toString() {
        return "Cinema{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", capacity='" + capacity + '\'' +
                ", cinema_id='" + cinema_id + '\'' +
                '}';
    }
}
